how to solve algebra equations with fractions